#include "widget.h"
#include"httpserver.h"
#include"websocketserver.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Widget w;

    HttpServer* httpServer = HttpServer::getInstance();
    httpServer->init();
    WebSocketServer* webSocketServer = WebSocketServer::getInstance();
    webSocketServer->init();

    w.show();
    return a.exec();
}
